package com.gesis.logic.imp;

import java.util.List;

import com.gesis.entity.GesSubClassification;
import com.gesis.entity.GesTopic;
import com.gesis.logic.ISuchen;
import com.gesis.persistence.imp.CustomQuery;

public class Suchen implements ISuchen {
	
	CustomQuery custom = new CustomQuery();

	public List<GesTopic> searchForYear(String yearBegin, String yearEnd)
			throws Exception {
		return custom.searchForYear(yearBegin, yearEnd);
	}

	public List<GesSubClassification> searchClassification(String clas)
			throws Exception {
		return custom.searchClassification(clas);
	}

	public int countTopic(String yearBegin, String yearEnd, String idCla,
			String idTopic) throws Exception {
		return custom.countTopic(yearBegin, yearEnd, idCla, idTopic);
	}

}
